#include "coroutineSchdule.h"

int main() 
{
    Scheduler* s = GetInstance();
    memset(s, 0, sizeof(s));
    s->current_id = -1;

    scheduler_run();

    // 释放资源
    for (int i = 0; i < s->id_max; i++) 
    {
        if(s->coroutines[i]) 
            free(s->coroutines[i]);
    }
    return 0;
}